package com.dao;

import com.pojo.Work;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WorkMapper {
    void insertWork(Work work);
    void delWorkById(String id);
    void updateWorkById(String id);
    int getCount();
    List<Work> selectWorkById(String id);
    List<Work> selectWorkByCourseId(String courseId);
    List<Work> selectWorkAll();
}
